package com.jsmy.softapp.model;

import com.jsmy.softapp.net.NetWork;

import java.util.Map;

/**
 * Created with Android Studio.
 * User: wei_cd.
 * Date: 2018/3/12.
 * Time: 11:27.
 * To change for file | settings | file and code templates.
 */

public interface BaseModel extends NetWork.CallListener{

    void loadData(String type, Map<String, String> map, OnLoadCompleteListener listener);

    interface OnLoadCompleteListener{
        void onComplete(String type, String code, String msg, Object object);
    }
}
